package com.example.demo.component.proxy.cglib.dispatcher;

import com.example.demo.component.proxy.cglib.lazy.PropertyBean;
import net.sf.cglib.proxy.Dispatcher;

/**
 * @ClassName ConcreteClassDispatcher
 * @Description
 * @date 2023/4/6 14:37
 * @Author yanceysong
 * @Version 1.0
 */
public class ConcreteClassDispatcher implements Dispatcher {
    public Object loadObject() throws Exception {
        System.out.println("Dispatcher loadObject ...");
        PropertyBean object=new PropertyBean();
        object.setPropertyName("PropertyBeanName!");
        object.setPropertyValue(1);
        return object;
    }
}
